import http from './http'

export const getBanner = () => {
  return http('/user/getBanner')
}
export const getHomeList = () => {
  return http('/user/getHomeList')
}
export const detailProject = () => {
  return http('/detail/project')
}
//登录
export const login = (code) => {
  return http('/login',{code},"POST")
}
//获取用户信息
export const getUserInfo = () => {
  return http('/getUserInfo')
}
//我的喜欢
export const likeList = () => {
  return http('/like/list')
}